package com.fptt;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class LogFile extends BufferedWriter
{	
	public LogFile(String filePath) throws IOException
	{
		super(new FileWriter(filePath));
	}
	
	public void writeLine(String lineText)
	{
		try 
		{
			this.write(lineText);
			this.newLine();
		} 
		catch (Exception e) 
		{
			e.printStackTrace();
		}
	}

}
